<extend name="Public:common"/>
<block name="main">
    <div class="case-read">
        <div class="case-read-top clear" style="background-color:#62bfaa ">
            <div class="left syl">
                {$title}
            </div>
            <div class="right">
                <div>
                    <p class="syl">{$description}</p>
                    <p class="syl">{$jiqncemeirong}</p>
                </div>
                <ul>
                    <li class="syl">客户名称 :&nbsp;&nbsp;&nbsp;&nbsp;{$kehu_name}</li>
                    <li class="syl">服务内容 :&nbsp;&nbsp;&nbsp;&nbsp;{$keywords}</li>
                    <li class="syl">创作日期 :&nbsp;&nbsp;&nbsp;&nbsp;<?=date('Y-m-d', $createtime)?></li>
                </ul>
            </div>
        </div>
        <style type="text/css">
            .case-read,
            .case-read p,
            .case-read li,
            .case-read .left {
                color: #f1f1f1;
            }
        </style>
        <div class="case-read-img clear">
            {$content}
            <p style="text-align: center;"><span style="color: #000000; font-size: 36px;">{$text1.pos}</span></p>
            <p style="text-align: center;"><span style="color: #000000; font-size: 72px;">{$text2.pos}</span></p>
            <p style="text-align: center;"><span style="font-size: 36px; color: #000000;">&nbsp;-</span></p>
            <p style="text-align: center;"><span style="color: #000000; font-size: 36px;">TEL: {$site_telephone}</span></p>
            <p style="text-align: center;"><span style="color: #000000; font-size: 22px;">{$site_copyright}</span>
            </p>
            <p style="text-align: center;"><span style="color: #000000; font-size: 22px;">关注{$site_name}公众号，最新动态早知道</span>
            </p>
            <p style="text-align: center;">&nbsp;</p>
            <p style="text-align: center;"><span style="color: #000000; font-size: 22px;"> </span></p>
            <p><span style="color: #000000;"><img style="display: block; margin: 0 auto; width: 150px; float: none;" class="lazy" src="__IMG__/picture/blank.gif" data-original="{$site_wxqrcode}" alt="" width="150" height="151"></span></p></div>
        <div class="clear news-tool">
            <div class="left">
                <div class="share-box">
                    <div id="share" class="share">
                        <a href="javascript:void(0)" class="share br-p"><i class="ico-share icon"></i></a>
                        <ul class="share-list jiathis_style bdsharebuttonbox bdshare-button-style0-16"
                            data-bd-bind="1484633662250">
                            <li><a href="#" class="jiathis_button_weixin bds_weixin" data-cmd="weixin"><i
                                    class="ico-weixin icon"></i>微信</a></li>
                            <li><a href="#" class="jiathis_button_tsina bds_tsina" data-cmd="tsina"><i
                                    class="ico-xlwb icon"></i>新浪微博</a></li>
                            <li><a href="#" class="jiathis_button_tqq bds_tqq" data-cmd="tqq"><i
                                    class="ico-txwb icon"></i>腾讯微博</a></li>
                            <li><a href="#" class="jiathis_button_douban bds_douban" data-cmd="douban"><i
                                    class="ico-douban icon"></i>豆瓣</a></li>
                            <li><a href="#" class="jiathis_button_tieba bds_tieba" data-cmd="tieba"><i
                                    class="ico-tieba icon"></i>百度贴吧</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="case_about">
        <div class="case_about-t">
            <div class="case-page">
                <notempty name="prev">
                    <a class="zuo" title="{$prev.title}" href="/{$parent_cate.catdir}/{$prev.id}.html"></a>
                </notempty>
                <notempty name="next">
                    <a class="you" title="{$next.title}" href="/{$parent_cate.catdir}/{$next.id}.html"></a>
                </notempty>
            </div>
            <a href="{$parent_cate.url}"><img src="__IMG__/picture/c1.png"></a>
            <notempty name="other">
                <p style="font-size: 26px;line-height: 1em;margin-top: 105px;margin-bottom: 20px;">相关案例</p>
                <p class="ma"><img src="__IMG__/picture/c2.png"></p>
            </notempty>
        </div>
        <div class="case-content">
            <ul class="case clear">
                <foreach name="other" item="item">
                    <a href="/{$parent_cate.catdir}/{$item.id}.html" target="_blank">
                        <li class="c1 item" data-id="{$item.id}">
                            <img src="__IMG__/picture/blank.gif"
                                 alt="英树护肤品牌全案设计" class="lazy tran "
                                 data-original="{$item.thumb}">
                            <div class="case-summary">
                                <div style="position: relative;width:100%;height: 100%">
                                    <p class="p1">{$item.kehu_name}</p>
                                    <p class="p2">
                                        -
                                        <br>
                                        <span class="syl">{$item.title}</span>
                                        <br>{$item.keywords}</p>
                                </div>
                            </div>
                        </li>
                    </a>
                </foreach>
            </ul>
        </div>
    </div>

    <script type="text/javascript" src="__JS__ckplayer.js"></script>
    <script type="text/javascript">
        $("span.mceItem-movie").each(function (i) {
            $(this).css('display', 'block');
            $(this).attr("id", "movie" + i);
            var data = $(this).attr("title").split('|');
            var _width = data[2] + '%';
            var _height = data[3] + '%';
            var playmode = data[5] == 'flash' ? false : true;
            var playstyle = data[7] == 'simple' ? false : true;
            var playurl = 'https://cdn1.hzvis.com/' + data[0]; //视频地址处理，如果是
            var flashvars = {f: playurl, c: 0, i: data[1], p: data[4], o: data[6], x: data[7], e: data[8]};
            var video = [playurl + '->video/mp4'];
            var params = {bgcolor: '#FFF', allowFullScreen: true, allowScriptAccess: 'always', wmode: 'transparent'};
            CKobject.embed('/js/ckplayer/ckplayer.swf', 'movie' + i, 'ckplayer_movie' + i, _width, _height, playmode, flashvars, video, params, playstyle);
            $(this).attr("title", '');
            $(this).css('width', _width);
            $(this).css('height', _height);
        })
        $('.small').lazyload({
            effect: 'fadeIn',
            threshold: 200
        })
    </script>
    <style type="text/css">
        .case-read video {
            display: block;
            background: #fff
        }

        .case_about {
            text-align: center;
            line-height: 1em;
            width: 94%;
            margin: 0 auto;
            position: relative;
            padding-bottom: 150px;
        }

        .case_about ul li {
            width: 33.333333%;
            float: left;
            position: relative;
            overflow: hidden;
            display: block;
        }

        .case_about ul li img {
            width: 100%;
            height: auto;
            display: block;
        }

        .case_about-t {
            margin-bottom: 50px;
        }

        .case_about .case-summary {
            width: 90%;
            height: 90%;
            background: url(__IMG__/image/black.png) repeat;
            top: 0;
            left: 0;
            position: absolute;
            padding: 5%;
            display: none;
        }

        .case_about .case-summary p {
            color: #f9f9f9;
            position: absolute;
            left: 0;
            font-size: 20px;
        }

        .case_about .case-summary .p1 {
            top: 0;
        }

        .case_about .case-summary .p2 {
            bottom: 0;
            font-size: 16px;
            text-align: left;
        }

        .case_about .case-summary span {
            font-size: 24px;
        }

        .case_about .case-more {
            color: #b9b9b9;
            width: 300px;
            height: 50px;
            transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
            border-radius: 0px;
            font-size: 18px;
            text-align: center;
            text-indent: 0px;
            line-height: 50px;
            font-size: 13px;
            border: none;
            position: relative;
        }

        .case_about .case-more:after {
            content: "";
            display: block;
            width: 260px;
            height: 42px;
            border: 1px solid #D9D9D9;
            position: absolute;
            bottom: 2px;
            z-index: 2;
            margin-left: -106px;
            transition: all 0.2s ease 0s;
            top: -15px;
            left: 50%;
        }

        .case_about .case-more:hover {
            color: #333
        }

        .case_about .case-more:hover:after {
            transform: scale(1.1, 1.1);
            border: 1px solid #e0e0e0;
        }

        .case_about .case-more i {
            font-family: 'simsun';
            font-size: 18px;
            text-indent: -10px;
            line-height: 50px;
            transition: all ease-out .3s;
            color: #fff;
            display: inline-block;
            opacity: 0
        }

        .case_about .case-more:hover i {
            color: #333;
            text-indent: 10px;
            opacity: 1
        }

        .case_about .case-more:after {
            width: 210px;
        }

        .case_about .case-more {
            width: 231px;
        }

        .case-page {
            width: 1800px;
            position: relative;
            margin: 0 auto;
            max-width: 100%;
        }

        @media screen and (max-width: 1920px) {
            .case-page {
                width: 1700px;
            }

            .zuo {
                width: 20% !important;
            }

            .you {
                width: 20% !important;
            }
        }

        @media screen and (max-width: 1440px) {
            .case-page {
                width: 1200px;
            }

            .zuo {
                width: 17% !important;
            }

            .you {
                width: 17% !important;
            }
        }

        @media screen and (max-width: 1200px) {
            .case-page {
                width: 1000px;
            }

            .zuo {
                width: 15% !important;
            }

            .you {
                width: 15% !important;
            }
        }

        @media screen and (max-width: 750px) {
            .case-page {
                width: 94%;
            }

            .zuo {
                width: 15% !important;
            }

            .you {
                width: 15% !important;
            }
        }

        .zuo {
            background: url(__IMG__/image/zuo.png) no-repeat;
            display: block;
            position: absolute;
            width: 20%;
            height: 50px;
            top: 7px;
        }

        .you {
            background: url(__IMG__/image/zuo.png) no-repeat;
            display: block;
            position: absolute;
            width: 20%;
            height: 50px;
            right: 0;
            top: 7px;
            transform: rotateY(180deg);
        }

        .mceItem-movie {
            background-color: #fff !important;
        }

    </style>
</block>